import DemoStore from "../lib/stores/demo";
import {inject, observer} from "mobx-react";
import * as React from "react";

type Props = {
	DemoStore: DemoStore
}

@inject('DemoStore')
@observer
class Test extends React.Component<Props> {
	render() {
		return (
			<div>{this.props.DemoStore.name}</div>
		);
	}
}

export default Test;
